#ifndef __CAIDAN_H
#define __CAIDAN_H


#include "stm32f10x.h"                  // Device header


extern uint8_t tagup,tagdown,tagleft ,tagright;
extern int16_t speed,v;
extern int16_t ax,ay,az,gx,gy,gz;
extern uint8_t zuo,you,qian,hou,qian1;
extern uint8_t a,b,c,d ;












void guangbiao(void);




void TandD(void);




void dainji(void);



void zhuti(void);



void fanhuizhucaidan(void);



void chaoshengbo(void);



void xiaoche(void);



void pointup(void);



void pointdown(void);


	
void pointleft(void);



void pointright(void);


void laba(void);




void xiaoche_xunji(void);


void fanhuizhucaidan2(void);


void fanhuizhucaidan3(void);


void luxian(void);

#endif

